package main

import "fmt"

func homework1() {
	var (
		a     = []int{1, 2, 3, 4}
		count = 0
	)
	for _, i0 := range a {
		for _, i1 := range a {
			for _, i2 := range a {
				switch {
				case i0 == i1:
				case i0 == i2:
				case i1 == i2:
				default:
					fmt.Println(i0, i1, i2)
					count++
				}
			}
		}
	}
	fmt.Println(count)
}
